package com.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author mgl
 * @version 1.0
 * @description TODO
 * @date 2024/4/10 13:57
 */
@TableName("contest_credits")
@ApiModel(value = "ContestCreditsEntity 关于ABC类竞赛的123等奖对应学分的实体类", description = "ContestCreditsEntity")
@Data
public class ContestCreditsEntity implements Serializable {

    @TableId
    @ApiModelProperty(value = "id 在新增操作不需要 在修改的时候必须传这个", example = "1")
    private Integer id;

    @TableField("contest_type_id")
    @ApiModelProperty(value = "竞赛类型id 对应ABC类奖项", example = "1")
    private Integer contestTypeId;

    @TableField("contest_price")
    @ApiModelProperty(value = "竞赛奖项 填写123 对应123等奖", example = "1")
    private Integer contestPrice;

    @TableField("credits")
    @ApiModelProperty(value = "加分", example = "0.5")
    private Float credits;

    @TableField("memo")
    @ApiModelProperty(value = "其他 不用理会", example = "记录")
    private String memo;
}
